﻿<?php
function getapptypelist()
{
	$apptypelist[0]['id'] = 1;$apptypelist[0]['name'] = "系统安全";$apptypelist[0]['url'] = "http://as.baidu.com/a/software?cid=501&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";//http://as.baidu.com/a/software?cid=501&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=
	$apptypelist[1]['id'] = 2;$apptypelist[1]['name'] = "壁纸美化";$apptypelist[1]['url'] = "http://as.baidu.com/a/software?cid=502&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[2]['id'] = 3;$apptypelist[2]['name'] = "聊天通讯";$apptypelist[2]['url'] = "http://as.baidu.com/a/software?cid=503&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[3]['id'] = 4;$apptypelist[3]['name'] = "生活实用";$apptypelist[3]['url'] = "http://as.baidu.com/a/software?cid=504&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[4]['id'] = 5;$apptypelist[4]['name'] = "书籍阅读";$apptypelist[4]['url'] = "http://as.baidu.com/a/software?cid=505&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[5]['id'] = 6;$apptypelist[5]['name'] = "影音图像";$apptypelist[5]['url'] = "http://as.baidu.com/a/software?cid=506&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[6]['id'] = 7;$apptypelist[6]['name'] = "学习办公";$apptypelist[6]['url'] = "http://as.baidu.com/a/software?cid=507&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[7]['id'] = 8;$apptypelist[7]['name'] = "网络社区";$apptypelist[7]['url'] = "http://as.baidu.com/a/software?cid=508&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[8]['id'] = 9;$apptypelist[8]['name'] = "地图导航";$apptypelist[8]['url'] = "http://as.baidu.com/a/software?cid=509&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[9]['id'] = 10;$apptypelist[9]['name'] = "理财购物";$apptypelist[9]['url'] = "http://as.baidu.com/a/software?cid=510&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$apptypelist[10]['id'] = 11;$apptypelist[10]['name'] = "其他软件";$apptypelist[10]['url'] = "http://as.baidu.com/a/software?cid=500&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";

	return $apptypelist;
}

function getapptypelist_mobile()
{
    $apptypelist[0]['id'] = 1;
    $apptypelist[0]['name'] = "系统安全";
    $apptypelist[0]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40501%401%401&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=501&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[1]['id'] = 2;
    $apptypelist[1]['name'] = "壁纸美化";
    $apptypelist[1]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40502%401%402&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=502&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[2]['id'] = 3;
    $apptypelist[2]['name'] = "聊天通讯";
    $apptypelist[2]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40503%401%403&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=503&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[3]['id'] = 4;
    $apptypelist[3]['name'] = "生活实用";
    $apptypelist[3]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40504%401%404&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=504&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[4]['id'] = 5;
    $apptypelist[4]['name'] = "书籍阅读";
    $apptypelist[4]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40505%401%405&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=505&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[5]['id'] = 6;
    $apptypelist[5]['name'] = "影音图像";
    $apptypelist[5]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40506%401%406&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=506&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[6]['id'] = 7;
    $apptypelist[6]['name'] = "学习办公";
    $apptypelist[6]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40507%401%407&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=507&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[7]['id'] = 8;
    $apptypelist[7]['name'] = "网络社区";
    $apptypelist[7]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40508%401%408&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=508&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[8]['id'] = 9;
    $apptypelist[8]['name'] = "地图导航";
    $apptypelist[8]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40509%401%409&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=509&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

    $apptypelist[9]['id'] = 10;
    $apptypelist[9]['name'] = "理财购物";
    $apptypelist[9]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40510%401%4010&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=510&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";
    
    $apptypelist[10]['id'] = 11;
    $apptypelist[10]['name'] = "其他软件";
    $apptypelist[10]['url'] = "http://m.baidu.com/appsrv?f=catesoft%40510%401%4010&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=510&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=";

	return $apptypelist;
}

function getgametypelist()
{
	$gametypelist[0]['id'] = 51;$gametypelist[0]['name'] = "休闲益智";$gametypelist[0]['url'] = "http://as.baidu.com/a/asgame?cid=401&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[1]['id'] = 52;$gametypelist[1]['name'] = "角色冒险";$gametypelist[1]['url'] = "http://as.baidu.com/a/asgame?cid=402&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[2]['id'] = 53;$gametypelist[2]['name'] = "动作格斗";$gametypelist[2]['url'] = "http://as.baidu.com/a/asgame?cid=403&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[3]['id'] = 54;$gametypelist[3]['name'] = "策略游戏";$gametypelist[3]['url'] = "http://as.baidu.com/a/asgame?cid=404&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[4]['id'] = 55;$gametypelist[4]['name'] = "飞行射击";$gametypelist[4]['url'] = "http://as.baidu.com/a/asgame?cid=405&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[5]['id'] = 56;$gametypelist[5]['name'] = "经营策略";$gametypelist[5]['url'] = "http://as.baidu.com/a/asgame?cid=406&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[6]['id'] = 57;$gametypelist[6]['name'] = "棋牌天地";$gametypelist[6]['url'] = "http://as.baidu.com/a/asgame?cid=407&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[7]['id'] = 58;$gametypelist[7]['name'] = "角色扮演";$gametypelist[7]['url'] = "http://as.baidu.com/a/asgame?cid=408&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	$gametypelist[8]['id'] = 59;$gametypelist[8]['name'] = "社交游戏";$gametypelist[8]['url'] = "http://as.baidu.com/a/asgame?cid=400&s=1&f=suite_3&suite=3&bdtype=soft&appname=soft&version=2.2&pn=";
	
	return $gametypelist;
}

function getgametypelist_mobile(){
    $gametypelist[0]['id'] = 51;
    $gametypelist[0]['name'] = '休闲益智';
    $gametypelist[0]['url'] = 'http://m.baidu.com/appsrv?f=categame%40401%401%401&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=401&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';

    $gametypelist[1]['id'] = 52;
    $gametypelist[1]['name'] = '角色冒险';
    $gametypelist[1]['url'] = 'http://m.baidu.com/appsrv?f=categame%40402%401%402&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=402&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';
 
    $gametypelist[2]['id'] = 53;
    $gametypelist[2]['name'] = '动作格斗';
    $gametypelist[2]['url'] = 'http://m.baidu.com/appsrv?f=categame%40403%401%403&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=403&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';  


    $gametypelist[3]['id'] = 54;
    $gametypelist[3]['name'] = '策略游戏';
    $gametypelist[3]['url'] = 'http://m.baidu.com//appsrv?f=categame%40404%401%404&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=404&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn= ';

    $gametypelist[4]['id'] = 55;
    $gametypelist[4]['name'] = '体育竞速';
    $gametypelist[4]['url'] = 'http://m.baidu.com//appsrv?f=categame%40405%401%405&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=405&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';

    $gametypelist[5]['id'] = 56;
    $gametypelist[5]['name'] = '飞行射击';
    $gametypelist[5]['url'] = 'http://m.baidu.com//appsrv?f=categame%40405%401%405&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=405&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';

    $gametypelist[6]['id'] = 57;
    $gametypelist[6]['name'] = '卡片棋牌';
    $gametypelist[6]['url'] = 'http://m.baidu.com//appsrv?f=categame%40407%401%407&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=407&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';

 $gametypelist[7]['id'] = 58;
    $gametypelist[7]['name'] = '经营养成';
    $gametypelist[7]['url'] = 'http://m.baidu.com//appsrv?f=categame%40408%401%408&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=408&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';

 $gametypelist[8]['id'] = 59;
    $gametypelist[8]['name'] = '其他游戏';
    $gametypelist[8]['url'] = 'http://m.baidu.com//appsrv?f=categame%40400%401%409&=&uid=1FD198F796D3F687C26935CDA26EF916%257C987146120459068&sorttype=hot&psize=3&usertype=0&from=1001436d&ver=16781600&cid=400&network=WF&operator=460014&country=CN&pkname=com.baidu.appsearch&gms=false&platform_version_id=16&firstdoc=&action=catelist&pu=cua%40720_1280_android_5.0_320%2Cosname%40baiduappsearch%2Cctv%401%2Ccfrom%401092a%2Ccuid%401FD198F796D3F687C26935CDA26EF916%25257C987146120459068%2Ccut%40MI%252B2A_4.1.1_16_Xiaomi&language=zh&apn=&&native_api=1&pn=';

    return $gametypelist;
}

?>
